package com.servlet.webqq.entity;

import java.util.Date;

public class Message {
	private String message;
	private User user;
	private Date currentDate;
	public Message(String message,User user,Date curr){
		this.setMessage(message);
		this.setUser(user);
		this.setCurrentDate(curr);	
	}
	public String getMessage() {
		return message;
	}
	public void setMessage(String message) {
		this.message = message;
	}
	public User getUser() {
		return user;
	}
	public void setUser(User user) {
		this.user = user;
	}
	public Date getCurrentDate() {
		return currentDate;
	}
	public void setCurrentDate(Date currentDate) {
		this.currentDate = currentDate;
	}
}
